using System;
using PropertyExpression.ControllableQuery;

namespace PropertyExpression.PwsApplication
{
    internal class InsertBuyerQuery : INonQuery
    {
        private readonly IParam<Guid> buyerID;

        public InsertBuyerQuery(IParam<Guid> buyerID)
        {
            this.buyerID = buyerID;
        }

        public string TransformText()
        {
            return
@"INSERT  Buyer
        (BuyerID)
VALUES
        (" + buyerID + ")";
        }
    }
}